package com.milk.system.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 评论管理表 分页VO
 *
 * @author milk
 * @since 2024-05-04
 */
@Builder
@Data
@Schema(description = "评论管理表分页视图对象")
public class CommentsPageVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "评论唯一标识")
    private Long id;

    @Schema(description = "客户姓名")
    private String customerName;

    @Schema(description = "评论内容")
    private String commentContent;

    @Schema(description = "评分（1-5星）")
    private Integer rating;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private LocalDateTime createdTime;




}
